﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace voicedMelody
{
    public partial class wavOpen : Form
    {
        public wavOpen()
        {
            InitializeComponent();
        }

        private void browseButton_Click(object sender, EventArgs e)
        {
            DialogResult result = folderBrowserDialog.ShowDialog();
            if (result == DialogResult.OK)
            {
                this.browseTextBox.Text = folderBrowserDialog.SelectedPath;
                string fileToOpen = this.browseTextBox.Text;
                features = featureFacade.ExtractFeaturesFromFile(fileToOpen);
            }
        }

        private void wavOpen_Load(object sender, EventArgs e)
        {

        }


    }
}
